package com.xnyzc.lhy.mis.service.engine;

import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.mis.entity.cms.driver.DriverUserInfo;
import com.xnyzc.lhy.mis.entity.param.cms.engine.EngineParam;
import com.xnyzc.lhy.mis.entity.result.cms.engine.RulesSnapshot;

/**
 * 风控引擎相关
 *
 * @author wangshuo
 * @date 2019-12-16 10:42
 */
public interface CmsEngineManageService {

    /**
     * 查询风控留证记录列表
     * @return
     */
    Rv getEngineManagementList(EngineParam param);

    /**
     * 查询字典规则类型
     * @return
     */
    Rv getDictEngineRuleList();

    /**
     * 查看规则快照
     * @return
     */
    Rv getRulesSnapshot(Long recordId);


    /**
     * 查看特征快照
     * @return
     */
    Rv getCharacteristicSnapshot(Long recordId);

    /**
     * 风控字典规则业务场景
     * @return
     */
    Rv getRiskControlNode();

    /**
     * 风控规则配置列表
     * @return
     */
    Rv getRiskControlRulesList(Integer node);

    /**
     * 风控规则配置详情
     * @return
     */
    Rv getRiskControlRulesDetails(Long rulesId);

    /**
     * 风控规则配置修改
     * @return
     */
    Rv getUpdateRiskControlRules(RulesSnapshot param);

}
